package com.bo.mybatis.mapper;

import com.bo.mybatis.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoMapperXML {
    List<UserInfo> selectUser();
    UserInfo selectUserById(Integer id);
    List<UserInfo> selectUserByUser(UserInfo userInfo);
    Integer insertUser(UserInfo userInfo);
    Integer insertUser2(UserInfo userInfo);
    Integer updateUserAge(Integer id,Integer age);
    Integer updateUser(UserInfo userInfo);
    Integer deleteUserById(Integer id);
    Integer batchDelete(List<Integer> list);
    Integer batchInsert(List<UserInfo> list);
}
